const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true,
  lintOnSave: false ,   //关闭语法检查
  // 代理跨域
  devServer:{
    proxy: {
      '/api': {
        // target: `http://localhost:80`,
        target: `http://116.205.181.161:8080`,
        changeOrigin: true,
        ws: false,
        secure: false,
        pathRewrite:{'^/api':''},
      }
    }
  }
})
